else
label_allocation.x = allocation->x + label_xoffset;
- label_allocation.y = allocation->y;
+ label_allocation.y = allocation->y + MAX (0, (arrow_height - label_height) / 2);
label_allocation.height = label_height;
gtk_widget_size_allocate (priv->label_widget, &label_allocation);
arrow_allocation.x = allocation->x + allocation->width - arrow_width;
else
arrow_allocation.x = allocation->x;
- arrow_allocation.y = allocation->y;
+ arrow_allocation.y = allocation->y + MAX (0, (label_height - arrow_height) / 2);
arrow_allocation.width = arrow_width;
arrow_allocation.height = arrow_height;